package com.example.diskfilesystem.file;

//已打开文件表指针类
public class Pointer {
    int dnum;//磁盘盘块号
    int bnum;//磁盘盘块内第几个字节

    public Pointer(){
        this.dnum = 0;
        this.bnum = 0;
    }

    public Pointer(int dnum, int bnum) {
        this.dnum = dnum;
        this.bnum = bnum;
    }

    public int getDnum() {
        return dnum;
    }

    public void setDnum(int dnum) {
        this.dnum = dnum;
    }

    public int getBnum() {
        return bnum;
    }

    public void setBnum(int bnum) {
        this.bnum = bnum;
    }
}
